// 位置信息类型
export type LocationType = {
  id: string;
  address: string;
}

// Banner 信息类型
export type BannersType = Array<{
  id: string,
  imgUrl: string
}>

// 分类信息类型
export type CategoriesType = Array<{
  id: string;
  name: string;
  imgUrl: string;
}>

// 列表信息类型
export type CardListType = Array<{
  id: string;
  name: string;
  imgUrl: string;
  price: string;
}>

// 返回内容类型
export type ResponseType = {
  success: boolean;
  data: {
    location: LocationType;
    banners: BannersType;
    categories: CategoriesType;
    freshes: CardListType;
  }
}